﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;

namespace lyAdmin.Entity.Bean
{
    public class PageBean
    { 
        /// <summary>
        /// 行数
        /// </summary>
        public int Size { get; set; }
        private int page = 1;
        /// <summary>
        /// 页数
        /// </summary>
        public int Page { get => page <1 ? 1 : page; set => page = value; }
    }
}
